<template>
    <div>
        <el-container>
          <el-aside width="200px">
            <!-- 引入CommonAside -->
              <common-aside />
          </el-aside>
          <el-container>
            <el-header>
              <common-header />
            </el-header>
              <common-tag></common-tag>
            <el-main>
              <!-- <h1>main</h1> -->
              <!-- 路由出口 -->
              <router-view></router-view>
            </el-main>
          </el-container>
        </el-container>
    </div>
</template>

<script>
// 引用组件
import CommonAside from '../components/CommonAside.vue'
import CommonHeader from '../components/CommonHeader.vue'
import CommonTag from '@/components/CommonTag.vue'
export default {
  data(){
      return {}
  },
  //取名引入对应的组件
  components:{
    CommonAside,
    CommonHeader,
    CommonTag
  }
}
</script>

<style lang="less" scoped>
.el-header{
  padding:0
}
</style>
